package com.atguigu.userprofile.common.dao;

import com.atguigu.userprofile.common.bean.TagInfo;
import com.atguigu.userprofile.common.bean.TaskInfo;
import com.atguigu.userprofile.common.util.MySQLUtil;

public class TaskInfoDAO {

    public static TaskInfo getTaskInfo(String taskId){
        String taskSQL="select * from task_info where id= "+taskId;
        TaskInfo taskInfo = MySQLUtil.queryOne(taskSQL, TaskInfo.class, true);
        return taskInfo;
    }
}
